home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
011
/
fill14.arc
/
FILL.DOC
next >
Wrap
Text File
|
1987-05-23
|
8KB
|
186 lines
FILL.DOC: documentation for Fill v1.4
(c) Jean Lalonde, Montreal, Canada
May 23, 1987
History
-------
v1.0 (Feb 23, 87):
First release.
v1.1 (Mar 17, 87):
This version accept a non-empty target floppy to copy the
files in sub-directories. You can change, make or remove
directories on the target floppy.
v1.2 (Apr 13, 87):
This version allows to copy given files from various
sub-directories down from a given directory. Fill prompt
you if a file already exists on the target floppy. You
can overwrite, rename or skip this file.
v1.3 (May 12, 87):
Correct a bug from v1.2. Now, Fill will detect when the
target's root directory is almost full (maximum is 112 files).
When Fill counts 111 files, it prompt you to change the target
directory or the target floppy. I also add in this version
a confirmation prompt before escape procedure. From this
version, multiple file names separated by '+' are allowed.
v1.4 (May 23, 87):
Maximum number of files in root is automatically initialized
from boot sector according to your disk drive type (maximum
can be 64, 112, 512 or wathever future DOS compatible drives
manufacturers can define).
Remove prompt for a formatted diskette while loading program.
Option '/F' added to format immediately the first disk.
Correct a minor display bug in "O(ther / M(akeDir / Change to
this directory (y/N) ?" -> default in prompt was wrong.
Hi!
Did you ever encountered this situation: you want carry the
files of a directory from one hard-disk to another. You have to
copy the files of this directory to floppy disk. The directory
contains several files, some big, other smaller, and...
C>copy *.* a:
FIRSTBIG.EXE
OTHERBIG.EXE
Insufficient disk space
1 File(s) copied
You realize that you will have to copy your directory on more
than one floppy. Then, you have two choices. First, copy each
file seperately checking the space remaining on 'A:' and the
files size. Second choice, you can use a back-up program. The
backup program is a good solution but you will have to carry
the restore program with you. With Fill, there is a third
solution...
C>fill *.* a:
Fill will copy all your files, filling up each floppy disk. To
do this, Fill will build a list of the files of the directory,
sort this list by size order and then copy the biggest file to
the floppy. Second, it will copy the biggest file that can be
copied in the remaining space of the floppy and so on. When the
first floppy will be filled up, Fill will prompt you for another
disk until the directory is completely copied to floppies.
This way, Fill optimize your floppy disk space, make the job easy
and keep your files in their original-executable format. To
restore the files on the destination hard-disk, all you will have
to do is copying the files of each floppy with the simple
command...
A>copy *.* c:\directory
Fill calculate the number of floppies needed before beginning
the job. You will never have to stop because you do not have
enough floppies. Fill will also allow you to list files (dir),
delete or format the destination floppy without leaving the
program. You can also change, make or remove directories on the
target floppy.
The only restriction is that the biggest file of your directory
must fit on one floppy (362,496 bytes or 1.2 meg according to
your configuration). If the biggest file do not fit on a floppy
you will have to use the backup/restore solution.
To allow formatting within Fill, the program FORMAT.COM (or
FORMAT.EXE) must be in your PATH directory. If FORMAT is in the
directory '\DOS', your AUTOEXEC.BAT file must specify:
PATH=C:\DOS;...other directories...;
The Fill's syntax is very similar to the copy's syntax:
Fill \directory\files target [/f] [/m] [/s]
'\directory' is the directory to copy
'files' to copy (wild cards allowed, default is '*.*',
multiple file names such '*.COM+*.EXE' allowed)
'target' is the destination drive (must be 'A:' or 'B:')
'/F' to format the first target disk automaically
'/M' to copy all matching files down from the given directory
'/S' to repeat the task on sub-directories
When Fill is called, it start immediately, reading the target
floppy disk to get the disk type and its free space. A formatted
disk must be inserted in the target drive. If you do not have
a formatted fisk, you can insert a new disk and use the option
'/F'. Fill will first prompt you for a disk to format.
If you get the error message:
Not ready error reading drive A
Abort, Retry, Ignore?
You did not insert a disk in the target drive (here 'A:').
Insert a formatted disk and press 'R' to retry.
If you get the error message:
General Failure error reading drive A
Abort, Retry, Ignore?
You inserted a non-formatted disk in the target drive (here 'A:').
Insert a formatted disk and press 'R' to retry or press 'A' to
abort and call Fill with the oprion '/F'.
The option '/S' allows you to repeat the process on every sub-
directories under the specified directory without repeating the
command line.
The option '/M' allows to copy all files matching 'files' a given
directory and its children directories. This command:
C>fill \*.arc a: /m
will copy all .ARC files on your hard-disk to floppies. If a file
has the same name than another file already copied to the target
floppy, Fill will prompt you if you want to ovewrite the file
on the target floppy, if you want to give another name to the
second file copied or if you want to skip the second file.
Caution: if two files with the same name are copied to different
floppies, Fill will not prompt you. In this case, take care when
you will copy the floppies to another hard-disk. If you use:
A>copy *.* c:
the second file will overwrite the first one. There is no problem
if those files are duplicated but if different files have the same
name, you may lost the second. To avoid this, use DDup to identify
duplicated files to rename files before filling (see OTHERS.DOC)
or Xcopy (DOS 3.2 and later) instead of Copy. Xcopy will prompt
you before overwriting a file on the target disk.
I hope Fill will be usefull to you. You can send me comments or
reports to:
Jean Lalonde
P.O. BOX 721
Station "R"
Montreal
CANADA
H2S-3M4
You can join me online on Compuserve (ID: 76606,671) or on BIX
Info Exchange (Bix name: jlalonde). Fill is written in MODULA-2/86
Rel. 2.0 (A), PC/MS-DOS 8088/8086, LOGITECH, (C) Copyright 1983,
1984, 1985, 1986. Fill uses standard BIOS and PC/MS-DOS functions,
v3.0 or more. It support redirected input/output: you can send output
to the printer ("Fill dir\*.* D: >PRN") or use Fill through a modem.
The larger your RAM is, the faster Fill will copy your files. Although
it will run correctly with only 100k of RAM free.
You can use or redistribute this program freely as long as it is
done at no cost (except floppy's cost) if this documentation file
and the copyright remain intact. Modula-2 sources of this
program are available. To receive those text files, please send
me a $25 check.
Enjoy Fill!
Jean Lalonde
May 23, 1987